package com.shareppy.norman.core.sql.conditions;

import com.shareppy.utils.StringUtils;

public abstract class Condition {

	private String left;

	private String right;

	public Condition(String left, String right) {
		this.left = left;
		this.right = right;
	}

	public abstract String getOperator();

	@Override
	public String toString() {
		return StringUtils.nvl(left) + getOperator() + StringUtils.nvl(right);
	}
}